/**
 * Copyright 2006 Van de Wijgerd B.V. All rights reserved.
 */
package com.googlecode.friendfeed;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.HashMap;

public class Entries implements Serializable {
    private List<Entry> entries;
    private String json;

    private static Map<String,Class> classMap = new HashMap<String,Class>();
    static {
        classMap.put("entries",Entry.class);
        classMap.put("user",Profile.class);
        classMap.put("service",Service.class);
        classMap.put("comments",Comment.class);
        classMap.put("like",Like.class);
        classMap.put("media",Media.class);
        classMap.put("thumbnails",Thumbnail.class);
        classMap.put("content",Content.class);
        classMap.put("via",Via.class);
        classMap.put("room", Room.class);
        classMap.put("geo", Geo.class);
    }

    public static Map<String, Class> getClassMap() {
        return classMap;
    }

    public List<Entry> getEntries() {
        return entries;
    }

    public void setEntries(List<Entry> entries) {
        this.entries = entries;
    }

    public String getJson() {
        return json;
    }

    public void setJson(String json) {
        this.json = json;
    }
}
